@import url('./theme.less');

.game {
  height: 250px;
  line-height: 250px;
  position: relative;
  width: 100%;
  text-decoration: none;
  border-top: 3px solid rgba(248, 232, 184, 0.8);
  border-bottom: 3px solid rgba(248, 232, 184, 0.8);
}

.Large {
  margin: 5px;
  height: 0;
  position: relative;
  width: 15%;
  padding-bottom: 15%;
  background-color: @bet_default;
  display: block;
  border-radius: 5%;
  float: left;
  cursor: pointer;
  border: 1px solid transparent;
  &:hover {
    border: 1px solid @border_color;
  }
}

.selected {
  background-color: @bet_selected !important;
  border: 1px solid @border_color;
}

.history {
  float: none;
  height: 40px;
  line-height: 40px;
  position: relative;
  width: 100%;
  text-decoration: none;
  margin: 10px 20px;
  h4 {
    float: left;
    margin-right: 10px;
    line-height: 20px
  }
  button {
    text-decoration: underline;
    background: none;
    border: none;
    float: right;
    padding: 0px 15px;
    margin-right: -15px;
    border-radius: 5px;
    cursor: pointer;
    outline: none !important;
    color: #fff;
    font-weight: 200;
    font-size: 15px;
  }
}

.big_tip {
  line-height: 250%;
  text-align: center;
  font-size: 60px;
  color: #fff;
  display: block;
}

.tip {
  display: block;
  width: 15px;
  line-height: 15px;
  float: left;
  font-size: 12px;
  position: relative;
  padding: 0px 5px;
  top: 10px;
  letter-spacing: 0;

}

.single_same_select {
  height: 0;
  position: relative;
  width: 100%;
  float: left;
  padding-bottom: 13%;
  text-decoration: none;
  border: 1px solid @border_color;
  border-radius: 10px;
  ul {
    float: left;
    li {
      float: left;

    }
  }
  .option {
    width: 60px;
    height: 60px;
    margin: 5px 10px;
    background-color: @bet_default;
    border-radius: 5px;
    display: block;
    background-size: 80%;
    cursor: pointer;
    border: 1px solid transparent;
    &:hover {
      border: 1px solid @border_color;
    }
  }
}

.same_quick_select {
  height: 0;

  line-height: 130px;
  position: relative;
  width: 66%;
  float: left;
  margin: 5px auto;
  padding-bottom: 15%;
  text-decoration: none;
  p {
    height: 30px;
    right: 0px;
    font-size: 15px;
    text-align: center;
    line-height: 30px;
    color: #f3d398;
  }

}

.single_select {
  height: 0;
  position: relative;
  width: 100%;
  float: left;
  padding-bottom: 8%;
  text-decoration: none;
  span {
    display: block;
    line-height: 30px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
  }
  small {
    line-height: 30px;
    display: block;
    color: #f3d398;
    font-size: 12px;
    letter-spacing: 0;
    margin-top: 10px;
    text-align: center;
  }
  .option {
    width: 60px;
    height: 70px;
    margin: 5px;
    background-color: @bet_default;
    border-radius: 5px;
    display: block;
    background-size: 80%;
    cursor: pointer;
    border: 1px solid transparent;
    &:hover {
      border: 1px solid @border_color;
    }
  }

}

.all_same_select {
  height: 0;
  position: relative;
  width: 100%;
  float: left;
  margin-top: 8px;
  padding-bottom: 8%;
  text-decoration: none;
  border-radius: 10px;
  background: @bet_default url(../images/all.png) no-repeat 15px 5px;
  background-size: 66%;
  border: 1px solid transparent;
  cursor: pointer;
  &:hover {
    border: 1px solid @border_color;
  }
  p {
    height: 30px;
    right: 0px;
    font-size: 15px;
    text-align: right;
    margin-right: 10%;
    line-height: 30px;
    color: #f3d398;
  }
}

.bet_area {
  margin: 10px auto;
  height: 100px;
  line-height: 100px;
  position: relative;
  width: 100%;
  text-decoration: none;
  border-top: 3px solid rgba(248, 232, 184, 0.8);
  border-bottom: 3px solid rgba(248, 232, 184, 0.8);
  .bets {
    height: 0px;
    line-height: 30px;
    display: block;
    font-size: 17px;
    float: left;
    color: #f1d297;
    font-weight: bold;
  }
  button {

    display: inline-block;

    background: @bet_default;
    text-align: center;
    color: #f1d297;
    font-weight: 200;
    font-size: 18px;
    border: 1px solid @border_color;
  }
  .quick-bets {
    float: left;
    button {

      width: 80px;
      height: 35px;
      background: @bet_default;
      text-align: center;
      border-radius: 20px;
      margin-right: 10px;
      color: #f1d297;
      font-weight: 200;
      font-size: 18px;
      cursor: pointer;
      border: 1px solid transparent;
      &:hover {
        text-decoration: underline;
      }
    }
  }

  .submit {
    float: right;
    button {
      width: 100px;
      height: 35px;
      border-radius: 6px;
      cursor: pointer;
    }

    .cancel {
      background-color: #692424;
    }
    .confirm {

      background-color: #366924;
    }
  }
}

.bg {
  background: transparent no-repeat center center fixed;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 1);

  //background: inherit;

  //-webkit-filter: blur(10px);
  //
  //-moz-filter: blur(10px);
  //
  //-ms-filter: blur(10px);
  //
  //-o-filter: blur(10px);
  //
  //filter: blur(10px);
  opacity: .5;

  filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=4, MakeShadow=false);
  z-index: 2;
}

#cover {
  position: absolute;
  left: 0px;
  top: 0px;
  background: rgba(0, 0, 0, 0.4);
  width: 100%; /*宽度设置为100%，这样才能使隐藏背景层覆盖原页面*/
  height: 100%;
  filter: alpha(opacity=60); /*设置透明度为60%*/
  opacity: 0.6; /*非IE浏览器下设置透明度为60%*/
  display: none;
  z-Index: 999;
}

#modal {
  position: absolute;
  width: 500px;
  height: 300px;
  top: 50%;
  left: 50%;
  background-color: #fff;
  display: none;
  cursor: pointer;
  z-Index: 2;
}

#bet_result_detail {
  width: 450px;
  height: 200px;
  border: 1px solid #fff4cb;
  background-color: #321f1f;
  border-radius: 3px;
  margin: 0px auto;
  padding: 5px 10px;
  color: #fff4cb;
  position: fixed;
  display: none;
  top: 10%;
  z-index: 999;
  label {
    color: red;
  }

}

.bet_result {
  width: 500px;
  margin: 10% auto;
  z-index: 999;
  position: relative;
  h4 {
    clear: both;
    text-align: center;
  }
  a {
    text-decoration: underline;
    color: red;
    font-size: 20px;
  }
  button {
    display: block;

    text-align: center;
    color: #f1d297;
    font-weight: 200;
    font-size: 18px;
    border: 1px solid #fff4cb;
    background-color: #366924;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    padding: 5px 10px;
    width: 120px;
    margin: 20px auto;
  }
}

.box {
  height: 55px;
  width: 55px;
  /* box: */
  background: #F0F0F0;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.05), 0 5px 10px 0 rgba(0, 0, 0, 0.10), inset 0 0 0 5px rgba(203, 203, 203, 0.50);
  border-radius: 20px;
  display: flex;
  padding: 20px;
  float: left;
  margin: 20px 30px;
  position: relative;
  z-index: 999;
  i {
    display: block;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    //background-image: linear-gradient(-135deg, #737373 0%, #3B3B3B 100%);
    background-image: linear-gradient(-135deg, #FF7E7E 0%, #FF0000 100%);
    box-shadow: 0 1px 1px 1px rgba(255, 255, 255, 0.50), inset 0 1px 3px 0 rgba(0, 0, 0, 0.50);
  }

  &.cell1 {
    justify-content: center;
    align-items: center;
    i {
      height: 30px;
      width: 30px;
      /* Oval Copy: */
      background-image: linear-gradient(-135deg, #FF7E7E 0%, #FF0000 100%);
      box-shadow: 0 1px 1px 1px rgba(255, 255, 255, 0.50), inset 0 1px 3px 0 rgba(0, 0, 0, 0.50);
    }
  }

  &.cell2 {
    justify-content: space-between;
    i {
      &:nth-child(2) {
        align-self: flex-end;
      }
    }
  }

  &.cell3 {
    justify-content: space-between;
    i {
      &:nth-child(2) {
        align-self: center;
      }
      &:nth-child(3) {
        align-self: flex-end;
      }
    }
  }

  &.cell4 {
    flex-direction: column;
    justify-content: space-between;
    div {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
    }
  }

  &.cell5 {
    flex-direction: column;
    justify-content: space-between;
    div {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      &:nth-child(2) {
        justify-content: center;
      }
    }
  }

  &.cell6 {
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
  }
}


